from django.urls import path
from .views import GradeListView,GradeCreateView,GradeUpdateView, GradeDeleteView


# URL configuration for the grades app
urlpatterns = [
    path("", GradeListView.as_view(), name="grades_list"), # List all grades
    path("create/",GradeCreateView.as_view(), name="grades_create"), # Create a new grade
    path("<int:pk>/update/",GradeUpdateView.as_view(),name="grades_update"),
    path("<int:pk>/delete/",GradeDeleteView.as_view(),name="grades_delete"), # Update an existing grade
]